<%--
功能：显示没有搜索结果
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ tag import="org.springframework.context.ApplicationContext" %>
<%@ tag import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ tag import="com.probiz.estore.product.service.ProductManager" %>
<%@ tag import="com.probiz.estore.common.model.product.Product" %>

<%@ attribute name="product" type="com.probiz.estore.common.model.product.Product" required="true" description="产品"%>

<%
	ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(session.getServletContext());
	ProductManager productManager = (ProductManager) ctx.getBean("productManager");
	String uri = productManager.getConsultUriByProduct(product);
	out.print(application.getAttribute("ctxPath")+uri);
%>

